package com.tema.mapper;

import com.tema.entities.Ability;
import com.tema.entities.Resume;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AbilityMapper {
    int count();

    int countByUserId(int userId);

    List<Ability> findPage(int pageNo, int pageSize);

    List<Ability> findPageByUserId(int userId, int pageNo, int pageSize);

    Ability findById(int id);

    void insert(Ability ability);
}
